<?php
if(isset($_GET['option'])){
	if(isset($_POST['submit'], $_POST['idNoteDel'])){
		switch($_GET['option']){
			case 'check':
				foreach($_POST['idNoteDel'] as $idNote){
					DevNotesModel::delNote($idNote);
				}
			break;
		}
	}
}
require_once MODEL_DIR.'/DevNotesModel.php';
$oDevNotesInstance = new DevNotesModel();
$aiassNotesList = $oDevNotesInstance->getNotes();
require_once VIEW_DIR.'/formDevNotesDel.php';
